package cn.springmvc.dao;

import cn.springmvc.model.Step7;
import cn.springmvc.model.Step7Example;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface Step7Mapper {
    int countByExample(Step7Example example);

    int deleteByExample(Step7Example example);

    int deleteByPrimaryKey(Integer id);

    int insert(Step7 record);

    int insertSelective(Step7 record);

    List<Step7> selectByExample(Step7Example example);

    Step7 selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Step7 record, @Param("example") Step7Example example);

    int updateByExample(@Param("record") Step7 record, @Param("example") Step7Example example);

    int updateByPrimaryKeySelective(Step7 record);

    int updateByPrimaryKey(Step7 record);
    
    List<Step7> getStep7ByNianfen(@Param("year")int year);
    Step7 getStep7ByNameAndNianfen(@Param("year")int year,@Param("name")String name);
}